$(function () {
    const sendEmail = $('#sendEmail');
    if(sendEmail){
        sendEmail.one('click',function (e) {
            $.post('/users/email.js',function (res) {
                if(res.success){
                    sendEmail.children()[0].textContent = ' 已发送激活邮件!';
                }
            })
        })
    }
});